Drive

Undocumented in source.

Members

Functions

put
bool put(FirecrackerAPIClient cl)

Create the drive via the Firecracker API. * Throws: FirecrackerException on error.

Mixins

__anonymous
mixin BaseModel
Undocumented in source.

Variables

driveID
string driveID;
Undocumented in source.
isReadOnly
bool isReadOnly;

Required: bool representing if the disk will be read-only

isRootDevice
bool isRootDevice;

Required: bool representing if the disk will be mounted as the root partition

partUUID
string partUUID;

Represents the unique ID of the boot partition

pathOnHost
string pathOnHost;

Required: Path to drive on the host's file system

rateLimiter
RateLimiter rateLimiter;

Ratelimiter. Intended to stop a user from thrashing our disk, as well as keeping the microVM under control.

Mixed In Members

From mixin BaseModel

stringify
string stringify()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta